package com.shopping.service;

import com.shopping.bean.Category;
import com.shopping.util.Page;

import java.util.List;

public interface ICategoryService {

    int addCategory(Category category);
    int editCategory(Category category);
    int deleteCategory(int id);
    List<Category>  getList(Page page, String text);
    List<Category>  getChildren(int id);
    Category getCategoryById(int id);
    int getCount(String text);


}
